build: Fix macOS linker compatibility flags
authorEmmanuele Bassi <ebassi@gnome.org>
Tue, 22 Aug 2017 09:24:45 +0000 (10:24 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Tue, 22 Aug 2017 09:24:45 +0000 (10:24 +0100)
The linker on macOS does not support '=' in its command line; there's no
guarantee that we are using the correct compatibility versions compared
to the Autotools build, but for that we'll need to build GTK+ master on
macOS.

meson.build

index 19279316bc6a36df32c61d54c89049ba54911d6f..158e5c871bd6f5173ec926e4f577618707950c38 100644 (file)
@@ -303,7 +303,7 @@ endif
 
 # Maintain compatibility with autotools
 if host_machine.system() == 'darwin'
-  common_ldflags += [ '-compatibility_version=1', '-current_version=1.0', ]
+  common_ldflags += [ '-compatibility_version 1', '-current_version 1.0', ]
 endif
 
 confinc = include_directories('.')